﻿namespace CsharpPro._0918
{
    public class Phone
    {
        
        public string Brand { get; set; }  
        public int Weight { get; set; }    
        public int Camera { get; set; }    
        public int Price { get; set; }     

        
        public void PrintInfo()
        {
            Console.WriteLine($"品牌(brand)：{Brand}");
            Console.WriteLine($"重量(weight)：{Weight}g");
            Console.WriteLine($"后置摄像头像素(camera)：{Camera}");
            Console.WriteLine($"价格(price)：{Price}");
            
        }
    }
}